package com.YCH.model.user.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 16554
 */
@Data
public class MailVo implements Serializable {
    // 邮件id
    private String id;
    //邮件发送人
    private String from;
    //邮件接收人
    private String to;
    //邮件主题
    private String subject;
    //邮件内容
    private String text;
    //发送时间
    private Date sentDate;
    //抄送
    private String cc;
    //密送
    private String bcc;
    //状态
    private String status;
    //报错信息
    private String error;
    // 是否为html
    private Boolean isHtml;
    //邮件附件
    @JsonIgnore
    private MultipartFile[] multipartFiles;
}